package cn.wolfcode.luowowo.search.service;

import cn.wolfcode.luowowo.search.domain.DestinationTemplate;

/**
 * 搜索服务
 */
public interface IDestionationEsService {
    void save(DestinationTemplate template);

    /**
     * 通过name属性查询对象
     * @param name
     * @return
     */
    DestinationTemplate findByName(String name);
}
